package com.example.comment_oa.pojos.rear;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName noet
 */
@TableName(value ="noet")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Noet implements Serializable {
    /**
     * 盘点序号
     */
    @TableId(value = "noet_id", type = IdType.AUTO)
    private Integer noetId;

    /**
     * 盘点物品编号
     */
    @TableField(value = "noet_no")
    private String noetNo;

    /**
     * 盘点物品名称
     */
    @TableField(value = "noet_name")
    private String noetName;

    /**
     * 盘点时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "noet_time")
    private Date noetTime;

    /**
     * 盘点原本数量
     */
    @TableField(value = "noet_copy_dot")
    private Integer noetCopyDot;

    /**
     * 盘点修改数量
     */
    @TableField(value = "noet_modify_dot")
    private Integer noetModifyDot;

    /**
     * 盘点原本金额
     */
    @TableField(value = "noet_copy_sum")
    private Double noetCopySum;

    /**
     * 盘点修改金额
     */
    @TableField(value = "noet_modify_sum")
    private Double noetModifySum;

    /**
     * 盘点修改人id
     */
    @TableField(value = "noet_man_id")
    private Integer noetManId;

    /**
     * 盘点修改人
     */
    @TableField(value = "noet_man_name")
    private String noetManName;

    /**
     * 盘点备注
     */
    @TableField(value = "noet_remark")
    private String noetRemark;


    /**
     * 盘点类型
     */
    @TableField(value = "noet_if")
    private String noetIf;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}